package io.renren.modules.footprint.service;

import io.renren.common.utils.R;
import io.renren.modules.footprint.entity.VipfootprintinfosCustomEntity;
import io.renren.modules.footprint.entity.VipfootprintinfosEntity;

import java.util.List;
import java.util.Map;

/**
 * 
 * 
 * @author 
 * @email 
 * @date 2018-10-26 15:36:43
 */
public interface VipfootprintinfosService {
	//根据项目删除收藏
	int deleteByProject(String[] targetid);

	//删除用户所有足迹
	int deleteByUser(String[] userinfoid);

	//查询api足迹列表总数
	int queryApiTotal(Map<String, Object> map);

	//查询api足迹列表
	List<VipfootprintinfosCustomEntity> queryApiList(Map<String, Object> map);
	
	VipfootprintinfosEntity queryObject(String vipfootprintinfoid);

	VipfootprintinfosCustomEntity queryCustomInfo(String vipfootprintinfoid);
	
	List<VipfootprintinfosEntity> queryList(Map<String, Object> map);

	List<VipfootprintinfosCustomEntity> queryCustomList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);

	int queryCustomTotal(Map<String, Object> map);
	
	void save(VipfootprintinfosEntity vipfootprintinfos);
	
	void update(VipfootprintinfosEntity vipfootprintinfos);
	
	void delete(String vipfootprintinfoid);
	
	void deleteBatch(String[] vipfootprintinfoids);

	R judgeFoodprintExistByUser(VipfootprintinfosEntity vipfootprintinfosEntity);
}
